<h1>Notifications</h1>

<div class="desc">Alerts to get the user's attention. You can vibrate the phone, sound a beep, or open an alert box.</div>

<script>
/*****************************************
 * Notifications
 *****************************************/
//Alert Box
function alert(){
	lg.notify.alert({msg:'This is a test', title:'New Alert'});
}

//Beep
function beep(){
	lg.notify.beep();
}

//Vibrate
function vibrate(){
	lg.notify.vibrate();
}
</script>

<a class="button" href="javascript:vibrate()">Vibrate</a>
<a class="button" href="javascript:beep()">Beep</a>
<a class="button" href="javascript:alert()">Alert</a>
